﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Duson.Controls.Pager
{
    public class PagerDesigner : System.Web.UI.Design.ControlDesigner
    {
        public override void Initialize(System.ComponentModel.IComponent component)
        {
            if (component is Pager)
            {
                Pager context = component as Pager;
                context.PageIndex = 1;
                context.RecordCount = 100;
            }

            base.Initialize(component);
        }
    }

}
